package com.app.service;

import com.app.entity.User;
import com.app.entity.params.SearchParams;
import com.app.util.PageResult;
import com.app.util.Result;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author by jt on 2021/3/23
 */
public interface UserService  {


    Result addUserByfront(User user);

    Result updateUrl(MultipartFile file, Integer id);

    Result findUserByid();

    Result updateUserByid(User user);

    Result findUserBySearch(SearchParams searchParams);

    Result bindCoach(Integer id);

    Result appleText();

    PageResult findUserByAdmin(SearchParams searchParams);

    Result findUserPassByAdmin(Integer id);

    Result findCoachAll();
}
